import os

os.popen("rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl")